<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>睿游登录系统</title>
<script src="http://libs.baidu.com/jquery/1.9.0/jquery.min.js"></script>
<style type="text/css">
body{font:17px '微软雅黑'; margin:0; padding:0; background-color:#58B;}
div{margin:0; padding:0;}

#wrap{width:100%;}
#form-wrap{width:600px; height:350px; background-color:#EEE; color:#333; border-radius:5px; overflow:hidden; margin:100px 0 0 0;}
#form-void{width:100%; height:60px; background-color:#0BB;}
#form-head{width:570px; height:43px; background-color:#666; color:#FFF; font:25px Verdana, Geneva, sans-serif; padding:7px 0 0 30px;}
#form-table{width:500px; height:auto; margin:30px 0 0 50px;}
#verify-img{float:left; margin:0 0 0 5px;}

.text-1{width:200px; height:25px; margin:0; padding:0; border:#09C 1px solid; border-radius:3px;}
.text-1:focus{outline:none; border-color:#F96;}
.text-2{width:100px; height:25px; margin:0; padding:0; border:#09C 1px solid; border-radius:3px; float:left;}
.text-2:focus{outline:none; border-color:#F96;}

.button-1{width:90px; height:30px; border:0; background-color:#09C; color:#FFF; border-radius:3px; margin:10px 20px 0 30px; font:14px '微软雅黑';}
.button-1:hover{background-color:#069;}
</style>
</head>

<body><center>
<div id="wrap" align="center">
	<div id="form-wrap" align="center">
    	<div id="form-void" align="center"></div>
    	<div id="form-head" align="left">
        	Change Password
        </div>
        <table id="form-table" cellspacing="7">
        <form action='./rePwd' method='post' id='repwd-form'>
        	<tr><td width="100"><label for="form-username">原密码:</label></td>
            	<td><input type="password"	name='old-pwd'	id='old-pwd' class='text-1' /></td></tr>
                
            <tr><td><label for="form-password">新密码:</label></td>
            	<td><input type="password"	name='new-pwd'	id='new-pwd-1'	class='text-1' /></td></tr>
                
            <tr><td><label for="form-verify">新密码:</label></td>
            	<td><input type="password"	 id='new-pwd-2' class='text-1' /></td></tr>
                
            <tr><td colspan="2"><input type="button" value="确定" name="form-submit" id="form-submit" class="button-1" />
            	<input type="button" id="form-return" value='返回' class="button-1" /></td></tr>
        </form>
        </table>
    </div>
</div>
</center></body>
<script language="javascript">
$("#form-submit").click(function(){
	var oldPwd		=	$("#old-pwd").val();
	var newPwd_1	=	$("#new-pwd-1").val();
	var newPwd_2	=	$("#new-pwd-2").val();
	
	if(oldPwd == "" ||newPwd_1 == "" ||newPwd_2 == ""){
		alert("请将信息填写完整!");
	}else if(newPwd_1 != newPwd_2){
		alert("两次密码输入不一致，请检查!");
	}else{
		$("#repwd-form").submit();
	}
});

$("#form-return").click(function(){
	window.open('../Gamelog/chargeByChannel','_self');
});
</script>
</html>